package top.blackr.folivora.common.security.event;

import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;
import top.blackr.folivora.common.security.crud.model.entity.SysUser;

public class UserLoginEvent extends ApplicationEvent {

    @Getter
    @Setter
    private SysUser user;

    public UserLoginEvent(Object source, SysUser user) {
        super(source);
        this.user = user;
    }
}
